<template>
  <div class="map">
    <!-- <div class="title" @click="goChildren">芯闻科技</div> -->
    <transition name="fade" mode="out-in">
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
export default {
  name: 'MapAll',
  components: {
  },
  mounted() {
    console.log('我进入了')
  },
  methods: {
    goChildren(){
      this.$router.push({
        path: "/province",
      })
    }
  }
}
</script>
<style scoped>
.map{
  width: 100%;
  height: 100%;
}
.title{
  position: fixed;
  background: yellow;
  left: 100px;
  top: 100px;
  z-index: 10;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 1s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>